package com.infoauto.opc.gateway.service;
import com.infoauto.opc.gateway.model.condition.EquipmentAbnormalCondition;
import com.infoauto.opc.gateway.model.gtm4.CheckTheProcess;
import com.infoauto.opc.gateway.model.gtm4.EquipmentAbnormal;
import java.util.List;

/**
 *设备异常
 */
public interface EquipmentAbnormalService {

    int insert(EquipmentAbnormal equipmentAbnormal);

    int update(EquipmentAbnormal equipmentAbnormal);

    List<EquipmentAbnormal> selectByStates(Integer states);

    List<EquipmentAbnormal> selectEquipmentAbnormal();

    List<EquipmentAbnormal> selectPlcAdrrAndRemoveTime(String plcAdrr);

    List<EquipmentAbnormal> selectEquipmentAbnormalList2(EquipmentAbnormalCondition equipmentAbnormalCondition);
}
